package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.InSkillDetailDao;
import com.meizi.lushi.entity.InSkillDetailEntity;
import com.meizi.lushi.service.InSkillDetailService;


@Service("inSkillDetailService")
public class InSkillDetailServiceImpl extends ServiceImpl<InSkillDetailDao, InSkillDetailEntity> implements InSkillDetailService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InSkillDetailEntity> page = this.page(
                new Query<InSkillDetailEntity>().getPage(params),
                new QueryWrapper<InSkillDetailEntity>()
        );

        return new PageUtils(page);
    }

}